package com.video.demo.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.video.demo.domain.Camera;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CameraMapper {
    @DS("shipin")  //@DS(“dsName”)	dsName可以为组名也可以为具体某个库的名称
    public List<Camera> select(Camera camera);
    @DS("shipin")
    Map selectysy(@Param("id") String id, @Param("deviceSerial") String deviceSerial);
    @DS("tunnel")
    Map tunnelysy(@Param("id") String id, @Param("deviceSerial") String deviceSerial);
}
